import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import elementUi from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "@/assets/siderbar/iconfont.css";
// 安装VueAxios,让全局Vue含有this.$HTTP请求方法
import * as api from "@/api/api.js";

Vue.$api = api;

Vue.config.productionTip = false;

Vue.use(elementUi);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
